package com.yuteng.user.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 角色权限表(video_role_authority)实体类
 *
 * @author 余腾
 * @since 2021-10-27 16:25:22
 * @description 用户喜欢的视频的一些信息
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("video_role_authority")
public class VideoRoleAuthority extends Model<VideoRoleAuthority> implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.ID_WORKER)
	private Long id;
    /**
     * 角色的id
     */
    private Long roleId;
    /**
     * 权限的id
     */
    private Long authorityId;

}